<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let str = `哈哈哈哈哈哈哈`;
        console.log(str);
        
        let a = "嘿嘿嘿";
        let str1 = `哈哈哈${a}哈哈哈`;
        console.log(str1);

        let age = 10;
        let str2 = `小明今年${age+1}岁了`;
        console.log(str2);

        let salary = 10000;
        let str3 = `张三要${salary >= 10000? "张三哈哈哈":"张三废了"}`
        console.log(str3);
    </script>
</body>
</html>